package cn.tedu.service.petcommodity;

import cn.tedu.commons.response.JsonPage;
import cn.tedu.pojo.pet.dto.PetCommodityDTO;
import cn.tedu.pojo.pet.vo.PetCommodityVO;
import cn.tedu.pojo.pet.vo.PetDetailsVO;

import java.util.List;


public interface IPetCommodityService {
    //新增宠物商品
    void addCommodity(PetCommodityDTO petCommodityDTO);
    //修改宠物商品
    void updatePetCommodity(String oldName,String newName);
    //修改宠物启用状态
    void updateIsDelete(String commodityName,Integer isDelete);
    //查询宠物商品
    List<PetCommodityVO> listByCategoryName(String categoryName);

    //根据商品名称查询相应详情
    PetDetailsVO listDetailsByCommodityName(String  commodityName);

}
